﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Services;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
    public Service () {

        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    [WebMethod]
    public Double Cong(Double x, Double y)
    {
        return x + y;
    }

    [WebMethod]
    public Double Tru(Double x, Double y)
    {
        return x - y;
    }
}
